package com.example.wordapp.service;

import com.example.wordapp.mapper.WordMapper;
import com.example.wordapp.pojo.User;
import com.example.wordapp.pojo.Word;

import java.util.List;

public interface WordService {

    List<Word> getAll();

    List<Word> getByUserFormart(User user);

    int updateWriteWord(String userId, String wordId, Integer stat);

    List<Word> findWriteWordByCom(String userId, Integer isWrite);


    int cleanWriterWords(String userId, String code);
}
